package com.ruicar.afs.cloud.afscase.loanapprove.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.afscase.loanapprove.condition.InvoiceInspectionCondition;
import com.ruicar.afs.cloud.afscase.loanapprove.entity.CarInvoiceInfo;
import com.ruicar.afs.cloud.afscase.loanapprove.vo.InvoiceInspectionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Description：车辆发票信息映射类</p>
 *
 * @author xueyu.ma
 * @version 1.0
 * @createDate 2020-6-15
 */
public interface CarInvoiceInfoMapper extends BaseMapper<CarInvoiceInfo> {

    IPage<InvoiceInspectionVo> getInvoiceList(@Param("page") Page page, @Param("condition") InvoiceInspectionCondition condition);

    List<InvoiceInspectionVo> getAllResultList(@Param("condition") InvoiceInspectionCondition condition);
}
